<script setup lang="ts">
import { ref } from 'vue'

// 下载速率（KB/s）
const downloadSpeed = ref(0)
// 存储路径
const storagePath = ref('')
</script>

<template>
  <el-card shadow="hover">
    <template #header>
      <div>下载管理</div>
    </template>
    <el-form label-width="150px">
      <!-- 限制下载速率 -->
      <el-form-item label="限制下载速率">
        <el-input
            v-model.number="downloadSpeed"
            placeholder="单位：KB/s"
            style="width: 200px;"
        />
      </el-form-item>
      <!-- 存储空间设置 -->
      <el-form-item label="存储空间设置">
        <el-input
            v-model="storagePath"
            placeholder="存储路径"
            style="width: 300px;"
        />
        <el-button type="primary" style="margin-left: 10px;">确认路径</el-button>
      </el-form-item>
    </el-form>
  </el-card>
</template>

<style scoped>

</style>